package com.geneticAlgorithm.wines;

import java.util.ArrayList;

public class WinesManager {
	
	// Holds our wines
    private static ArrayList<Wine> winesSelection = new ArrayList<Wine>();

    public static void addWine(Wine wine) {
    	winesSelection.add(wine);
    }
    
    public static Wine getWine(int index){
        return (Wine)winesSelection.get(index);
    }
    
    public static int numberOfWines(){
        return winesSelection.size();
    }
}
